import requests

import config


# 信件的发送
class FutureSendLetter:
    def __init__(self):
        self.send_url = config.BASE_URL + "/api/letter/send"

    def send_letter(self, headers_data, json_data):
        return requests.post(url=self.send_url, headers=headers_data, json=json_data)
